-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Add Arabe #7469
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Arabe #7469
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for your contribution! I've reviewed the changes and found several critical issues that need to be addressed before this can be merged.
The main concern is that adding Arabic language support requires more than just adding it to the LANGUAGES object. The TypeScript type definitions need to be updated, and the actual translation files need to be created.
| */ | ||
|
|
||
| export const LANGUAGES: Record<Language, string> = { | ||
| ar: "العربية", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This change will cause TypeScript compilation errors. The "ar" value needs to be added to the languages array in packages/types/src/vscode.ts (lines 64-83) for the Language type to recognize it as valid.
Could you also add "ar" to that array to ensure type safety?
| */ | ||
|
|
||
| export const LANGUAGES: Record<Language, string> = { | ||
| ar: "العربية", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I noticed that the Arabic locale directories and translation files are missing from all three locations:
src/i18n/locales/ar/webview-ui/src/i18n/locales/ar/locales/ar/
Without these directories and their translation JSON files, the application will fail when users try to switch to Arabic. Could you create these directories and add at least the basic translation files that other languages have?
|
Additionally, I noticed a few administrative items that need attention:
These administrative items help maintain project quality and make the review process smoother. Thank you for your understanding! |
Related GitHub Issue
Closes: #
Roo Code Task Context (Optional)
Description
Test Procedure
Pre-Submission Checklist
Screenshots / Videos
Documentation Updates
Additional Notes
Get in Touch
Important
Add Arabic language support to
LANGUAGESinlanguage.ts.ar: "العربية") toLANGUAGESinlanguage.ts.This description was created by
for aba2047. You can customize this summary. It will automatically update as commits are pushed.